﻿/*---------表单页面中涉及到的所有table框布局的整体外观样式以及在这个table框中的文本框、按钮等的样式
	table的class="tablestyle" 即可
	注意表单表格需不需要带 thead 和tfoot
	对于高的td需要带背景颜色 要在td上加class="tdspan"即可
---------*/
.tablestyle{ line-height:24px;border:1px #bbd882 solid; margin:2px 0px;width:100%;}
.tablestyle thead tr td{ padding: 0px;background:url(http://wdeep.com/ekang/plugins/ehaiform/images/form_bg.jpg) repeat-x;color:#ffffff; height:24px;line-height: 24px; }
.tablestyle thead tr td span{float:left;background:url(http://wdeep.com/ekang/plugins/ehaiform/images/form_tubiao.jpg) no-repeat; height:24px; text-indent:30px; }
.tablestyle thead tr td div{background: url(http://wdeep.com/ekang/plugins/ehaiform/images/up.png) no-repeat center center;float: right;height: 12px;width:20px;padding-top: 10px;padding-right: 10px;cursor:pointer;}
.tablestyle tr td span{ text-align:right; background-color:#f3fbe3; padding-right:5px; display:block;}
.tablestyle tr .tdspan{ text-align:right; background-color:#f3fbe3; }
.tablestyle tr td input,.tablestyle tr td select,.tablestyle tr td textarea{ border:1px solid #BDC7D8; margin-left:2px;}
.tablestyle tr td select{height:20px; line-height:20px;}
.tablestyle tr td{padding: 0px; border-bottom:1px solid #bbd882;}
.tablestyle tr td b{color:Red; font-weight:normal;}
.tablestyle tfoot tr td{padding: 0px;border: none; text-align: center; height:30px;}
.tablestyle tfoot tr td input{background: url(http://wdeep.com/ekang/plugins/ehaiform/images/but_bg.gif) repeat-x; border: 1px solid #f0c000;}
.tablestyle tr td input.radio{border:none;}
.tablestyle tr .tdnospan span{ text-align:left; background-color:Transparent; padding-right:0px; display:block;}

/*--------------当table 在 fieldset 里时-------------------------*/
.tablestyle_field{line-height:24px; width:100%;}
.tablestyle_field tr td span{ text-align:right; padding-right:5px; display:block;}
.tablestyle_field tr .tdspan{ text-align:right; }
.tablestyle_field tr td input,.tablestyle_field tr td select,.tablestyle_field tr td textarea{ border:1px solid #BDC7D8; margin-left:2px;}
.tablestyle_field tr td select{height:20px; line-height:20px;}
.tablestyle_field tr td{padding: 0px;}
.tablestyle_field tr td b{color:Red; font-weight:normal;}
.tablestyle_field tr td input.radio{border:none;}
.tablestyle_field tr td input.checkbox{border:none;}
.tablestyle_field tr .tdnospan span{ text-align:left; background-color:Transparent; padding-right:0px; display:inline;}
.tablestyle_field tr .tdnospan ol, .tdnospan ul,.tdnospan li
{
	margin:0 0 0 10px;
	padding:0 0 0 5px;
}
.font13{font-size:13px; font-weight:bold; color:#399a18; text-indent:10px;}

.tablestyle_field tr td input.btn{background: url(http://wdeep.com/ekang/plugins/ehaiform/images/but_bg.gif) repeat-x; border: 1px solid #f0c000;height: 21px;line-height: 21px; cursor:pointer;}
.tablestyle_field tr td a{ display:block;}
.btnl{width:130px; height:21px; line-height:21px;text-align:center;  background: url(http://wdeep.com/ekang/plugins/ehaiform/images/button2.gif) no-repeat; border:none; cursor:pointer;}
.btn_stylel a:hover{width:130px; height:21px; line-height:21px;text-align:center;  background: url(http://wdeep.com/ekang/plugins/ehaiform/images/button2-over.gif) no-repeat; border:none; cursor:pointer;}

.btnc{width:60px; height:21px; line-height:21px;text-align:center;  background: url(http://wdeep.com/ekang/plugins/ehaiform/images/button.gif) no-repeat; border:none; cursor:pointer;}
.btn_stylec a:hover{width:60px; height:21px; line-height:21px;text-align:center;  background: url(http://wdeep.com/ekang/plugins/ehaiform/images/button-over.gif) no-repeat; border:none; cursor:pointer;}

.btnbb{width:250px; height:21px; line-height:21px;text-align:center;  background: url(http://wdeep.com/ekang/plugins/ehaiform/images/button3.gif) no-repeat; border:none; cursor:pointer;}
.btn_stylebb a:hover{width:250px; height:21px; line-height:21px;text-align:center;  background: url(http://wdeep.com/ekang/plugins/ehaiform/images/button3-over.gif) no-repeat; border:none; cursor:pointer; display:block;}

/*-----.btnb-----卫生保健--生成报表大按钮-------*/
.btnb{width:100px; height:27px; line-height:27px;text-align:center; font-size:14px; font-weight:bold; color:#b63a00; background: url(http://wdeep.com/ekang/plugins/ehaiform/images/bigbtn.gif) no-repeat; border:none; cursor:pointer;}
.btnb_styleb{width:154px; height:42px; line-height:42px;text-align:center; font-size:14px; font-weight:bold; color:#b63a00; background: url(http://wdeep.com/ekang/plugins/ehaiform/images/bigbtn_1.gif) no-repeat; border:none; cursor:pointer;}
.btnb_styleb a:hover{width:154px; height:42px; line-height:42px;text-align:center; font-size:14px; font-weight:bold; color:#b63a00; background: url(http://wdeep.com/ekang/plugins/ehaiform/images/bigbtn-over.gif) no-repeat; border:none; cursor:pointer;}


/*--------------当table 为表格时-------------------------*/
.tableform{ width:100%; line-height:24px; border-bottom:1px #79C42A solid; border-right:1px #79C42A solid; text-align:center; }
.tableform tr td{ border-left:1px #79C42A solid; border-top:1px #79C42A solid;}
.tableform tr td span{background-color:#f3fbe3; padding-right:5px; display:block; text-align:right;}
.tableform tr th{background-color:#f3fbe3;text-align:center;}


/*--------------体检登记中的  table-------------------------*/
.tabletj{ width:100%; line-height:24px; border-right:1px #838383 dotted; border-bottom:1px #838383 dotted; text-align:center; }
.tabletj tr td{ border-left:1px #838383 dotted; border-top:1px #838383 dotted; padding-left:1px;}
.tabletj tr td span{ padding-right:5px; display:block; text-align:right;}
.tabletj tr th{background-color:#f3fbe3;text-align:center;}

/*--------------当table 在 为打印报表时-------------------------*/
.tablestyle_bb{line-height:24px; width:100%; border-bottom:1px solid #000; border-right:1px solid #000;}
.tablestyle_bb tr td span{ text-align:right; padding-right:5px; display:block;}
.tablestyle_bb tr .tdspan{ text-align:right; }
.tablestyle_bb tr td input,.tablestyle_bb tr td select,.tablestyle_bb tr td textarea{ border:1px solid #BDC7D8; margin-left:2px;}
.tablestyle_bb tr td select{height:20px; line-height:20px;}
.tablestyle_bb tr td{padding: 0px; border-left:1px solid #000; border-top:1px solid #000;}
.tablestyle_bb tr td b{color:Red; font-weight:normal;}
.tablestyle_bb tr td input.radio{border:none;}
.tablestyle_bb tr td input.checkbox{border:none;}





